package com.cx.zhshopping.ui.binding_adapter;

import android.widget.EditText;
import android.widget.TextView;

import androidx.databinding.BindingAdapter;

public class EditTextListener {

    @BindingAdapter(value = "actionListener",requireAll = false)
    public static void setEditActionListener(EditText editText, TextView.OnEditorActionListener listener){
        editText.setOnEditorActionListener(listener);
    }
}
